<?php

if(STAINLESS != 1){
	require_once('../config.php');
	redirect("$home_url/admin/login");
}
if(isset($_SESSION['user_id'])){
	session_unset();
	session_destroy();
	redirect("$home_url/admin/login");
}